package com.jia.together.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dujiajia
 * @since 2021-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Guide对象", description="")
public class Guide implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "导航id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "导航名称")
    private String title;

    @ApiModelProperty(value = "导航链接地址")
    private String url;

    @ApiModelProperty(value = "导航类型")
    private String type;

    @ApiModelProperty(value = "导航排序")
    private Integer sort;

    @ApiModelProperty(value = "导航推荐")
    private Integer recommend;

    @ApiModelProperty(value = "是否删除1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
